#ifndef MYDOUBLESLIDER_H
#define MYDOUBLESLIDER_H

#include <QtGui/QSlider>
#include <QtGui/QDoubleSpinBox>
class MyDoubleSlider:public QSlider
{
	Q_OBJECT
public:
	MyDoubleSlider(QWidget* parent=0);
	~MyDoubleSlider();

	void setMyRange (double min,double max);
	void setMySingleStep(double step);
	void setMySliderPosition(double positon);

	public slots:
		void setMyValue(double val);

signals:
		void valueChanged(double val);

};
class MyDoubleSpinBox:public QDoubleSpinBox
{
	Q_OBJECT
public:
	MyDoubleSpinBox(QWidget* parent=0);
	~MyDoubleSpinBox();

	public slots:
		void setMyValue(int val);

};
#endif